
<html><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta content="text/javascript" http-equiv="content-script-type">
<title>system.runtime.c.stdlib</title>
<link rel="stylesheet" type="text/css" href="candydoc/style.css">
<!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="candydoc/ie56hack.css"><![endif]-->
<script language="JavaScript" src="candydoc/util.js" type="text/javascript"></script>
<script language="JavaScript" src="candydoc/tree.js" type="text/javascript"></script>
<script language="JavaScript" src="candydoc/explorer.js" type="text/javascript"></script>
</head><body>
<div id="tabarea"></div><div id="explorerclient"></div>
<div id="content"><script>explorer.initialize("system.runtime.c.stdlib");</script>
	<table class="content">
		<tr><td id="docbody"><h1>system.runtime.c.stdlib</h1><!-- Generated by Ddoc from F:\MyWork\phoenix\source\system\runtime\c\stdlib.d -->
D header file for C99.
<br><br>
<b>License:</b><br>
Public Domain
<br><br>
<b>Authors:</b><br>
Sean Kelly
<br><br>
<b>Standards:</b><br>
ISO/IEC 9899:1999 (E)
 
<br><br>


<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">struct 
<span class="currsymbol">div_t</span>
<script>explorer.outline.addDecl('div_t');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">struct 
<span class="currsymbol">ldiv_t</span>
<script>explorer.outline.addDecl('ldiv_t');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">struct 
<span class="currsymbol">lldiv_t</span>
<script>explorer.outline.addDecl('lldiv_t');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">const int 
<span class="currsymbol">EXIT_SUCCESS</span>
<script>explorer.outline.addDecl('EXIT_SUCCESS');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">const int 
<span class="currsymbol">EXIT_FAILURE</span>
<script>explorer.outline.addDecl('EXIT_FAILURE');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">const int 
<span class="currsymbol">RAND_MAX</span>
<script>explorer.outline.addDecl('RAND_MAX');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">const int 
<span class="currsymbol">MB_CUR_MAX</span>
<script>explorer.outline.addDecl('MB_CUR_MAX');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">double 
<span class="currsymbol">atof</span>
<script>explorer.outline.addDecl('atof');</script>

(char* <span class="funcparam">nptr</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">int 
<span class="currsymbol">atoi</span>
<script>explorer.outline.addDecl('atoi');</script>

(char* <span class="funcparam">nptr</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">c_long 
<span class="currsymbol">atol</span>
<script>explorer.outline.addDecl('atol');</script>

(char* <span class="funcparam">nptr</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">long 
<span class="currsymbol">atoll</span>
<script>explorer.outline.addDecl('atoll');</script>

(char* <span class="funcparam">nptr</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">double 
<span class="currsymbol">strtod</span>
<script>explorer.outline.addDecl('strtod');</script>

(char* <span class="funcparam">nptr</span>, char** <span class="funcparam">endptr</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">float 
<span class="currsymbol">strtof</span>
<script>explorer.outline.addDecl('strtof');</script>

(char* <span class="funcparam">nptr</span>, char** <span class="funcparam">endptr</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">real 
<span class="currsymbol">strtold</span>
<script>explorer.outline.addDecl('strtold');</script>

(char* <span class="funcparam">nptr</span>, char** <span class="funcparam">endptr</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">c_long 
<span class="currsymbol">strtol</span>
<script>explorer.outline.addDecl('strtol');</script>

(char* <span class="funcparam">nptr</span>, char** <span class="funcparam">endptr</span>, int <span class="funcparam">base</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">long 
<span class="currsymbol">strtoll</span>
<script>explorer.outline.addDecl('strtoll');</script>

(char* <span class="funcparam">nptr</span>, char** <span class="funcparam">endptr</span>, int <span class="funcparam">base</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">c_ulong 
<span class="currsymbol">strtoul</span>
<script>explorer.outline.addDecl('strtoul');</script>

(char* <span class="funcparam">nptr</span>, char** <span class="funcparam">endptr</span>, int <span class="funcparam">base</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">ulong 
<span class="currsymbol">strtoull</span>
<script>explorer.outline.addDecl('strtoull');</script>

(char* <span class="funcparam">nptr</span>, char** <span class="funcparam">endptr</span>, int <span class="funcparam">base</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">double 
<span class="currsymbol">wcstod</span>
<script>explorer.outline.addDecl('wcstod');</script>

(wchar* <span class="funcparam">nptr</span>, wchar** <span class="funcparam">endptr</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">float 
<span class="currsymbol">wcstof</span>
<script>explorer.outline.addDecl('wcstof');</script>

(wchar* <span class="funcparam">nptr</span>, wchar** <span class="funcparam">endptr</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">real 
<span class="currsymbol">wcstold</span>
<script>explorer.outline.addDecl('wcstold');</script>

(wchar* <span class="funcparam">nptr</span>, wchar** <span class="funcparam">endptr</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">c_long 
<span class="currsymbol">wcstol</span>
<script>explorer.outline.addDecl('wcstol');</script>

(wchar* <span class="funcparam">nptr</span>, wchar** <span class="funcparam">endptr</span>, int <span class="funcparam">base</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">long 
<span class="currsymbol">wcstoll</span>
<script>explorer.outline.addDecl('wcstoll');</script>

(wchar* <span class="funcparam">nptr</span>, wchar** <span class="funcparam">endptr</span>, int <span class="funcparam">base</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">c_ulong 
<span class="currsymbol">wcstoul</span>
<script>explorer.outline.addDecl('wcstoul');</script>

(wchar* <span class="funcparam">nptr</span>, wchar** <span class="funcparam">endptr</span>, int <span class="funcparam">base</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">ulong 
<span class="currsymbol">wcstoull</span>
<script>explorer.outline.addDecl('wcstoull');</script>

(wchar* <span class="funcparam">nptr</span>, wchar** <span class="funcparam">endptr</span>, int <span class="funcparam">base</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">int 
<span class="currsymbol">rand</span>
<script>explorer.outline.addDecl('rand');</script>

();
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">void 
<span class="currsymbol">srand</span>
<script>explorer.outline.addDecl('srand');</script>

(uint <span class="funcparam">seed</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">void* 
<span class="currsymbol">malloc</span>
<script>explorer.outline.addDecl('malloc');</script>

(size_t <span class="funcparam">size</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">void* 
<span class="currsymbol">calloc</span>
<script>explorer.outline.addDecl('calloc');</script>

(size_t <span class="funcparam">nmemb</span>, size_t <span class="funcparam">size</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">void* 
<span class="currsymbol">realloc</span>
<script>explorer.outline.addDecl('realloc');</script>

(void* <span class="funcparam">ptr</span>, size_t <span class="funcparam">size</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">void 
<span class="currsymbol">free</span>
<script>explorer.outline.addDecl('free');</script>

(void* <span class="funcparam">ptr</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">void 
<span class="currsymbol">abort</span>
<script>explorer.outline.addDecl('abort');</script>

();
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">void 
<span class="currsymbol">exit</span>
<script>explorer.outline.addDecl('exit');</script>

(int <span class="funcparam">status</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">int 
<span class="currsymbol">atexit</span>
<script>explorer.outline.addDecl('atexit');</script>

(void function() <span class="funcparam">func</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">void 
<span class="currsymbol">_Exit</span>
<script>explorer.outline.addDecl('_Exit');</script>

(int <span class="funcparam">status</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">char* 
<span class="currsymbol">getenv</span>
<script>explorer.outline.addDecl('getenv');</script>

(char* <span class="funcparam">name</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">void* 
<span class="currsymbol">bsearch</span>
<script>explorer.outline.addDecl('bsearch');</script>

(void* <span class="funcparam">key</span>, void* <span class="funcparam">base</span>, size_t <span class="funcparam">nmemb</span>, size_t <span class="funcparam">size</span>, int function(void*, void*) <span class="funcparam">compar</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">void 
<span class="currsymbol">qsort</span>
<script>explorer.outline.addDecl('qsort');</script>

(void* <span class="funcparam">base</span>, size_t <span class="funcparam">nmemb</span>, size_t <span class="funcparam">size</span>, int function(void*, void*) <span class="funcparam">compar</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">int 
<span class="currsymbol">abs</span>
<script>explorer.outline.addDecl('abs');</script>

(int <span class="funcparam">j</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">c_long 
<span class="currsymbol">labs</span>
<script>explorer.outline.addDecl('labs');</script>

(c_long <span class="funcparam">j</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">long 
<span class="currsymbol">llabs</span>
<script>explorer.outline.addDecl('llabs');</script>

(long <span class="funcparam">j</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">div_t 
<span class="currsymbol">div</span>
<script>explorer.outline.addDecl('div');</script>

(int <span class="funcparam">numer</span>, int <span class="funcparam">denom</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">ldiv_t 
<span class="currsymbol">ldiv</span>
<script>explorer.outline.addDecl('ldiv');</script>

(c_long <span class="funcparam">numer</span>, c_long <span class="funcparam">denom</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">lldiv_t 
<span class="currsymbol">lldiv</span>
<script>explorer.outline.addDecl('lldiv');</script>

(long <span class="funcparam">numer</span>, long <span class="funcparam">denom</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">int 
<span class="currsymbol">mblen</span>
<script>explorer.outline.addDecl('mblen');</script>

(char* <span class="funcparam">s</span>, size_t <span class="funcparam">n</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">int 
<span class="currsymbol">mbtowc</span>
<script>explorer.outline.addDecl('mbtowc');</script>

(wchar* <span class="funcparam">pwc</span>, char* <span class="funcparam">s</span>, size_t <span class="funcparam">n</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">int 
<span class="currsymbol">wctomb</span>
<script>explorer.outline.addDecl('wctomb');</script>

(char* <span class="funcparam">s</span>, wchar_t <span class="funcparam">wc</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">size_t 
<span class="currsymbol">mbstowcs</span>
<script>explorer.outline.addDecl('mbstowcs');</script>

(wchar* <span class="funcparam">pwcs</span>, char* <span class="funcparam">s</span>, size_t <span class="funcparam">n</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">size_t 
<span class="currsymbol">wcstombs</span>
<script>explorer.outline.addDecl('wcstombs');</script>

(char* <span class="funcparam">s</span>, wchar* <span class="funcparam">pwcs</span>, size_t <span class="funcparam">n</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">void* 
<span class="currsymbol">alloca</span>
<script>explorer.outline.addDecl('alloca');</script>

(size_t <span class="funcparam">size</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>
</dl>
<script>explorer.outline.decSymbolLevel();</script>


</td></tr>
		<tr><td id="docfooter">
			Page was generated with
			<img src="candydoc/img/candydoc.gif" style="vertical-align:middle; position:relative; top:-1px">
			on Sat Nov 29 22:33:13 2008

		</td></tr>
	</table>
</div>
<script>
	explorer.packageExplorer.addModule("platform.PAL");
	explorer.packageExplorer.addModule("platform.windows.Core");
	explorer.packageExplorer.addModule("platform.linux.Core");
	explorer.packageExplorer.addModule("system.Array");
	explorer.packageExplorer.addModule("system.BitArray");
	explorer.packageExplorer.addModule("system.Environment");
	explorer.packageExplorer.addModule("system.Event");
	explorer.packageExplorer.addModule("system.Exception");
	explorer.packageExplorer.addModule("system.Hash");
	explorer.packageExplorer.addModule("system.IntPtr");
	explorer.packageExplorer.addModule("system.Random");
	explorer.packageExplorer.addModule("system.Traits");
	explorer.packageExplorer.addModule("system.TypeTuple");
	explorer.packageExplorer.addModule("system.math.IEEE");
	explorer.packageExplorer.addModule("system.math.Math");
	explorer.packageExplorer.addModule("system.runtime.c.complex");
	explorer.packageExplorer.addModule("system.runtime.c.config");
	explorer.packageExplorer.addModule("system.runtime.c.ctype");
	explorer.packageExplorer.addModule("system.runtime.c.errno");
	explorer.packageExplorer.addModule("system.runtime.c.fenv");
	explorer.packageExplorer.addModule("system.runtime.c.inttypes");
	explorer.packageExplorer.addModule("system.runtime.c.limits");
	explorer.packageExplorer.addModule("system.runtime.c.locale");
	explorer.packageExplorer.addModule("system.runtime.c.math");
	explorer.packageExplorer.addModule("system.runtime.c.signal");
	explorer.packageExplorer.addModule("system.runtime.c.stdarg");
	explorer.packageExplorer.addModule("system.runtime.c.stddef");
	explorer.packageExplorer.addModule("system.runtime.c.stdint");
	explorer.packageExplorer.addModule("system.runtime.c.stdio");
	explorer.packageExplorer.addModule("system.runtime.c.stdlib");
	explorer.packageExplorer.addModule("system.runtime.c.string");
	explorer.packageExplorer.addModule("system.runtime.c.time");
	explorer.packageExplorer.addModule("system.runtime.c.wctype");
	explorer.packageExplorer.addModule("system.text.UTF");
	explorer.packageExplorer.addModule("system.threading.Atomic");
	explorer.packageExplorer.addModule("system.threading.ThreadUtility");
	explorer.packageExplorer.addModule("system.threading.synchronization.SpinWait");
	explorer.packageExplorer.addModule("system.collections.ArrayList");
	explorer.packageExplorer.addModule("system.collections.Comparer");
	explorer.packageExplorer.addModule("system.collections.Deque");
	explorer.packageExplorer.addModule("system.collections.EqualityComparer");
	explorer.packageExplorer.addModule("system.collections.Exception");
	explorer.packageExplorer.addModule("system.collections.HashMap");
	explorer.packageExplorer.addModule("system.collections.HashSet");
	explorer.packageExplorer.addModule("system.collections.ICollection");
	explorer.packageExplorer.addModule("system.collections.IComparer");
	explorer.packageExplorer.addModule("system.collections.IDeque");
	explorer.packageExplorer.addModule("system.collections.IEnumerable");
	explorer.packageExplorer.addModule("system.collections.IEnumerator");
	explorer.packageExplorer.addModule("system.collections.IEqualityComparer");
	explorer.packageExplorer.addModule("system.collections.IList");
	explorer.packageExplorer.addModule("system.collections.IMap");
	explorer.packageExplorer.addModule("system.collections.IQueue");
	explorer.packageExplorer.addModule("system.collections.LinkedList");
	explorer.packageExplorer.addModule("system.collections.Pair");
	explorer.packageExplorer.addModule("system.collections.PrimeHelper");
	explorer.packageExplorer.addModule("system.collections.PriorityQueue");
	explorer.packageExplorer.addModule("system.collections.Queue");
	explorer.packageExplorer.addModule("system.collections.RBTree");
	explorer.packageExplorer.addModule("system.collections.Stack");
	explorer.packageExplorer.addModule("system.collections.TreeMap");
	explorer.packageExplorer.addModule("system.collections.TreeSet");
	explorer.packageExplorer.addModule("system.collections.objectmodel.ListCollection");
	explorer.packageExplorer.addModule("system.collections.objectmodel.ReadOnlyListCollection");</script>
</body></html>


